package com.example.back.dto.resp;


import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "交易记录列表返回体")
public class TransactionListResp implements Serializable {

    private static final long serialVersionUID = 8272794447020543246L;

    @ApiModelProperty(value = "订单号")
    @JSONField(name = "OrderNO")
    private String OrderNO;

    @ApiModelProperty(value = "交易流水号")
    @JSONField(name = "TransactionID")
    private String TransactionID;

    @ApiModelProperty(value = "用户名称")
    @JSONField(name = "NickName")
    private String NickName;

    @ApiModelProperty(value = "交易金额")
    @JSONField(name = "AskMoney")
    private BigDecimal AskMoney;

    @ApiModelProperty(value = "问诊类型 (在线复诊 = 10,图文问诊 = 11,电话问诊 = 12,视频问诊 = 13,药品 = 1)")
    @JSONField(name = "Types")
    private int Types;

    @ApiModelProperty(value = "支付方式(支付宝=1,微信 = 2,医保 = 3)")
    @JSONField(name = "PayType")
    private int PayType;

    @ApiModelProperty(value = "交易状态(未付款 = 1,已付款 = 2)")
    @JSONField(name = "SystemStatus")
    private int SystemStatus;

    @ApiModelProperty(value = "交易时间")
    @JSONField(name = "CreateTime")
    private Date CreateTime;
}
